package com.work.mapper;

import com.work.bean.StudentBean;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;


public interface IStudentMapper {
    @Insert("INSERT INTO t_student(s_name,s_birthday) values (#{name},#{birthday});")
    public void addStudent(StudentBean student);
    @Delete("delete from t_student where pk_studentId = #{id};")
    public void delStudent(int id);
}
